package edu.odu.cs.sstore.dto;

import java.io.Serializable;

public class DocumentDTO implements Serializable {

	private static final long serialVersionUID = -561099502497750276L;

	private Long id;
	private String fileName;
	private String fileContent;
	private UserDTO creator;
	
	public DocumentDTO() {
		this.id = null;
		this.fileName = null;
		this.fileContent = null;
		this.creator = null;
	}
	
	public DocumentDTO(Long id, String fileName, String fileContent, UserDTO creator) {
		this.id = id;
		this.fileName = fileName;
		this.fileContent = fileContent;
		this.creator = creator;
	}
	
	public Long getId() {
		return id;
	}
	
	public String getFileName() {
		return fileName;
	}
	
	public UserDTO getCreator() {
		return creator;
	}
	
	public String getFileContent() {
		return this.fileContent;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public void setFileContent(String fileContent) {
		this.fileContent = fileContent;
	}

	public void setCreator(UserDTO creator) {
		this.creator = creator;
	}
	
}
